import warnings
warnings.filterwarnings('ignore')
from ultralytics import YOLO
 
if __name__ == '__main__':
    model = YOLO(r'D:\YOLOv11\runs\train\922_n_v11\weights\best.pt')
    model.val(data=r'D:\YOLOv11\ct.yaml',
                imgsz=640,
                batch=16,
                split='test',
                workers=8,
                device='0',
                )

